package com.buildingsell.controller;

import com.buildingsell.service.UserService;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;


/**
 * 用户控制器
 */
@Controller
public class UserController {
    Logger logger = Logger.getLogger(UserController.class);
    @Resource
    UserService userService;

    @RequestMapping("/tologin")
    public String tologin(){
        logger.info("进入去登录控制器");
        return "login";
    }
}